package io.kiki.sba.registry.core.constants;


public final class EventTypeConstants {
    public static final String REGISTER = "REGISTER";
    public static final String UNREGISTER = "UNREGISTER";

    private EventTypeConstants() {
    }

    public static char getEventTypeFlag(String eventType) {
        if (EventTypeConstants.REGISTER.equals(eventType)) {
            return 'R';
        } else
            if (EventTypeConstants.UNREGISTER.equals(eventType)) {
                return 'U';
            }
        return 'N';
    }
}
